package com.dz51.core.json;

import java.io.Serializable;

/**
 * @Title: JSONObject.java
 * @Package com.dz51.core.json
 * @Description: json承载对象
 * @author Zhaoqt  
 * @date 2014-5-11 上午1:37:13
 * @version V1.0
 */
public class JSONObject implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private boolean success; //成功标识
	private Object data; //数据
	private long totalCount; //Object instanceof Collection 值为Collection.seiz
	private String msg; //返回消息
	 
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	public long getTotalCount() {
		return totalCount;
	}
	public void setTotalCount(long totalCount) {
		this.totalCount = totalCount;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
}
